/*
 * KKDialog.h
 *
 *  Created on: 2013-9-23
 *      Author: wanghua
 */

#ifndef KKDIALOG_H_
#define KKDIALOG_H_

#include "KKLayer.h"

class KKDialog: public KKLayer {

private:
CC_SYNTHESIZE(bool,m_mode,IsMode)
	;
protected:
	KKDialog();
public:
	virtual ~KKDialog();

	KKNODE_FACTORY_METHOD(KKDialog,dialogWithXml)
	;

	virtual bool initCommonInfoWithXml(TiXmlElement* element, KKNode* parent);

	virtual bool contains(const CCPoint& touchPoint);
};

KKNODE_PARSER_CLASS(KKDialogParser, KKDialog, dialogWithXml);

#endif /* KKDIALOG_H_ */
